home *** CD-ROM | disk | FTP | other *** search
- On 29-Mar-98, Alastair Murray smashed the keyboard with:
- > After extensive testing on Backbone I've come to a conclusion on why
- > it won't work on some poeples computers.
- >
- > Basically, its just too big! The code is fairly big and it reserves
- > a LOT of memory.
- >
- > Things that can help get it run include:
- > -cutting chunks of code out to make it smaller.
- > -reducing the amount of memory reserved.
- > -not having error message when compiling it.
- >
- > Now apart from the last one (which doesn't help much anyway) I can't
- > really do the other two without wrecking my program.
- >
- > Does anyone have any idea what causes AMOS to go crazy with big progs.
- > etc.
- > Oh, and I HAVE tried the Long Forward Jump option in the compiler!
-
- I don't think you can blame AMOS for this, basicaly the programs isn't
- that demanding with memory anyway. But if you'd like to cut on memory-
- usage there's a few ways:
-
- Put as much as you can in banks
- (Menus, AMAL, Interface, Data-lines, etc..)
-
- Put as much as you can in external files, and load them into banks when
- needed, the remove them when not needed...
- (Graphics, Music and things like this..)
-
- Put a display of the 'Free' variable somewhere in your program, and then
- begin to reduce the 'Set Buffer' value until you don't have more variable
- room that needed..
-
- Reduce the 'Stack' with 'Set Stack'..
-
- --
- Kind regards from
- ______________________________________________________________________________
- /_ __/ __ / __ /\ ___\ __ \__ _\ aka. JENS VANG PETERSEN
- / / / /_/ / ____/ \ \___\ __ \ \ \ top_cat@post8.tele.dk
- /_/ /_____/_/ \_____\_\ \_\ \_\
- ------------------------------------------------------------------------------
- http://home8.inet.tele.dk/top_cat/
- -+- Home of 'The Ultimate Extension list' for AMOS TC & AMOS PRO -+-
- -+- SUPPORT - AMOS - AMIGA - AQUA - STARTREK TNG -+-
- ------------------------------------------------------------------------------
- A computer program does what you tell it to do, not what you want it to do.
- ------------------------------------------------------------------------------
-
-
-